#include "form_connect.h"
#include "ui_form_connect.h"

form_connect::form_connect(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::form_connect)
{
    ui->setupUi(this);

    connect(ui->btn_connect, &QPushButton::clicked, this, &form_connect::CConnect);

    //载入LOGO.png
    QGraphicsScene *scene = new QGraphicsScene;
    scene->addPixmap(i_logo->pix);
    ui->img_logo->setScene(scene);
}

form_connect::~form_connect()
{
    delete ui;
    mytools::closeImgByStruct(i_logo);
}

void form_connect::CConnect(){
    qDebug()<< "测试测试";
}
